<?php


namespace app\console\service\tag;

use app\dao\goods\TagDao;

class TagQueryService
{
    public function getPageList($page, $perPage)
    {
        $tagDao = new TagDao();
        return $tagDao->getPageList($page, $perPage);
    }

    public function getList()
    {
        $tagDao = new TagDao();
        return $tagDao->getAll();
    }
}